<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Hospital Management System</title>
</head>
<body>
	<table height="600px" width="100%">
		<tr>
			<td valign="middle" align="center">
				<form action="login.do" method="post">
					<table width="400px" border="1">
						<tr>
							<th colspan="2">Hospital Management System</th>
						</tr>
						<%
							String error = (String) request.getParameter("error");
							if (error != null) {
						%>

						<tr>
							<th align="center" colspan="2"><font color="red"><%=error%></font></th>
						</tr>

						<%
							}
						%>
						<tr>
							<th align="right">Email Id:</th>
							<td><input type="text" name="emailId"></td>
						</tr>
						<tr>
							<th align="right">Password:</th>
							<td><input type="password" name="password"></td>
						</tr>
						<tr>
							<td colspan="2" align="right"><input type="reset"
								value="Clear" /> <input type="submit" value="Login" /></td>
						</tr>
						<tr>
							<td colspan="2" align="right">
								<a href="sign-up.do">New Patient</a>
							</td>
						</tr>
					</table>
				</form>
			</td>
		</tr>
	</table>
</body>
</html>